﻿using System.Net;
using System.Xml;
using org.apache.solr.SolrSharp.Configuration;
using org.apache.solr.SolrSharp.Configuration.Schema;

namespace SolrSharp.Adapters {
	public interface ISolrSearcher {
		SolrSearcher InnerSearcher { get; }

		SolrSchema SolrSchema { get; }

		bool Supports(Mode searcherMode);
		HttpStatusCode Ping();
		string GetConfigurationValue(ConfigurationFile eConfigFile, string xpathquery);
		XmlNodeList GetConfigurationData(ConfigurationFile eConfigFile, string xpathquery);
		XmlDocument GetConfigurationXml(ConfigurationFile eConfigFile);
	}
}